import axios from "axios"
import httpAxios from "@/utils/http"
import {resolve} from "../utils/apis"
//登录
export function _getuser(params:any){
    
    
    let url ="/dev-api/login"
    console.log(resolve(url),87878787);
    return httpAxios.post(resolve(url),params)
    
}
//获取验证码
export function _getcaptch(){
    let url ="/dev-api/captchaImage"
    return axios.get(resolve(url))  
    
}

// {
//     code: "4",
//     key: "student",
//     password: "123456",
//     username: "黄辉",
//     uuid: "9a6211e5d0b641d4ab45f0654bdf64fe"
// }